C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / SortAsync Method / SortAsync<T>(IDataCollection<T>,Expression<Func<T,Object>>,SortDirection) Method
The data collection.
The filter path.
The sort direction.

In This Topic
SortAsync<T>(IDataCollection<T>,Expression<Func<T,Object>>,SortDirection) Method
In This Topic
Sorts the data collection according to the specified sort path and direction.
Syntax
'Declaration
 
Public Overloads Shared Function SortAsync(Of T As Class)( _
   ByVal dataCollection As IDataCollection(Of T), _
   ByVal sortPath As Expression(Of Func(Of T,Object)), _
   Optional ByVal sortDirection As SortDirection _
) As Task
 

Parameters

dataCollection
The data collection.
sortPath
The filter path.
sortDirection
The sort direction.

Type Parameters

T
See Also